package com.yanqu.road.entity.log.cross.newMonopolyMarket.log;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_c_ck_new_monopoly_market_res_use_stat",autoSave = true,uploadCk = true,desc = "榷场-资源点",isCross = true)
public class LogNewMonopolyMarketResUseStat extends ServerBaseLog {

    @FieldTypeAnnotation(isIndex = true,desc = "周id")
    private int weekId;
    @FieldTypeAnnotation(desc = "分组id",isIndex = true)
    private long groupId;
    @FieldTypeAnnotation(desc = "资源分组id")
    private long resGroupId;
    @FieldTypeAnnotation(desc = "资源类型")
    private int resType;
    @FieldTypeAnnotation(desc = "资源点等级")
    private int lv;
    @FieldTypeAnnotation(desc = "资源点数量")
    private int totalNum;
    @FieldTypeAnnotation(desc = "资源点空闲数量")
    private int emptyNum;


    public LogNewMonopolyMarketResUseStat(int weekId, long groupId, long resGroupId, int resType, int lv, int totalNum, int emptyNum) {
        this.weekId = weekId;
        this.groupId = groupId;
        this.resGroupId = resGroupId;
        this.resType = resType;
        this.lv = lv;
        this.totalNum = totalNum;
        this.emptyNum = emptyNum;
    }

    public int getWeekId() {
        return weekId;
    }

    public void setWeekId(int weekId) {
        this.weekId = weekId;
    }

    public long getGroupId() {
        return groupId;
    }

    public void setGroupId(long groupId) {
        this.groupId = groupId;
    }

    public long getResGroupId() {
        return resGroupId;
    }

    public void setResGroupId(long resGroupId) {
        this.resGroupId = resGroupId;
    }

    public int getResType() {
        return resType;
    }

    public void setResType(int resType) {
        this.resType = resType;
    }

    public int getLv() {
        return lv;
    }

    public void setLv(int lv) {
        this.lv = lv;
    }

    public int getTotalNum() {
        return totalNum;
    }

    public void setTotalNum(int totalNum) {
        this.totalNum = totalNum;
    }

    public int getEmptyNum() {
        return emptyNum;
    }

    public void setEmptyNum(int emptyNum) {
        this.emptyNum = emptyNum;
    }

    @Override
    public long getUserId() {
        return 0;
    }
}
